Optimal. Leaf size=659 \[ -\frac {2 (d+e x)^{5/2} (b d-2 a e+(2 c d-b e) x)}{3 \left (b^2-4 a c\right ) \left (a+b x+c x^2\right )^{3/2}}+\frac {2 \sqrt {d+e x} \left (8 b c d \left (c d^2+3 a e^2\right )-4 a c e \left (3 c d^2+5 a e^2\right )-b^2 \left (9 c d^2 e-a e^3\right )+(2 c d-b e) \left (8 c^2 d^2-b^2 e^2-4 c e (2 b d-3 a e)\right ) x\right )}{3 c \left (b^2-4 a c\right )^2 \sqrt {a+b x+c x^2}}-\frac {2 \sqrt {2} (2 c d-b e) \left (4 c^2 d^2-b^2 e^2-4 c e (b d-2 a e)\right ) \sqrt {d+e x} \sqrt {-\frac {c \left (a+b x+c x^2\right )}{b^2-4 a c}} E\left (\sin ^{-1}\left (\frac {\sqrt {\frac {b+\sqrt {b^2-4 a c}+2 c x}{\sqrt {b^2-4 a c}}}}{\sqrt {2}}\right )|-\frac {2 \sqrt {b^2-4 a c} e}{2 c d-\left (b+\sqrt {b^2-4 a c}\right ) e}\right )}{3 c^2 \left (b^2-4 a c\right )^{3/2} \sqrt {\frac {c (d+e x)}{2 c d-\left (b+\sqrt {b^2-4 a c}\right ) e}} \sqrt {a+b x+c x^2}}+\frac {2 \sqrt {2} \left (c d^2-b d e+a e^2\right ) \left (16 c^2 d^2-b^2 e^2-4 c e (4 b d-5 a e)\right ) \sqrt {\frac {c (d+e x)}{2 c d-\left (b+\sqrt {b^2-4 a c}\right ) e}} \sqrt {-\frac {c \left (a+b x+c x^2\right )}{b^2-4 a c}} F\left (\sin ^{-1}\left (\frac {\sqrt {\frac {b+\sqrt {b^2-4 a c}+2 c x}{\sqrt {b^2-4 a c}}}}{\sqrt {2}}\right )|-\frac {2 \sqrt {b^2-4 a c} e}{2 c d-\left (b+\sqrt {b^2-4 a c}\right ) e}\right )}{3 c^2 \left (b^2-4 a c\right )^{3/2} \sqrt {d+e x} \sqrt {a+b x+c x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.54, antiderivative size = 659, normalized size of antiderivative = 1.00, number of steps
used = 7, number of rules used = 6, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, Rules used = {752, 832, 857,
732, 435, 430} \begin {gather*} \frac {2 \sqrt {2} \sqrt {-\frac {c \left (a+b x+c x^2\right )}{b^2-4 a c}} \left (a e^2-b d e+c d^2\right ) \left (-4 c e (4 b d-5 a e)-b^2 e^2+16 c^2 d^2\right ) \sqrt {\frac {c (d+e x)}{2 c d-e \left (\sqrt {b^2-4 a c}+b\right )}} F\left (\text {ArcSin}\left (\frac {\sqrt {\frac {b+2 c x+\sqrt {b^2-4 a c}}{\sqrt {b^2-4 a c}}}}{\sqrt {2}}\right )|-\frac {2 \sqrt {b^2-4 a c} e}{2 c d-\left (b+\sqrt {b^2-4 a c}\right ) e}\right )}{3 c^2 \left (b^2-4 a c\right )^{3/2} \sqrt {d+e x} \sqrt {a+b x+c x^2}}-\frac {2 \sqrt {2} \sqrt {d+e x} \sqrt {-\frac {c \left (a+b x+c x^2\right )}{b^2-4 a c}} (2 c d-b e) \left (-4 c e (b d-2 a e)-b^2 e^2+4 c^2 d^2\right ) E\left (\text {ArcSin}\left (\frac {\sqrt {\frac {b+2 c x+\sqrt {b^2-4 a c}}{\sqrt {b^2-4 a c}}}}{\sqrt {2}}\right )|-\frac {2 \sqrt {b^2-4 a c} e}{2 c d-\left (b+\sqrt {b^2-4 a c}\right ) e}\right )}{3 c^2 \left (b^2-4 a c\right )^{3/2} \sqrt {a+b x+c x^2} \sqrt {\frac {c (d+e x)}{2 c d-e \left (\sqrt {b^2-4 a c}+b\right )}}}+\frac {2 \sqrt {d+e x} \left (x (2 c d-b e) \left (-4 c e (2 b d-3 a e)-b^2 e^2+8 c^2 d^2\right )-\left (b^2 \left (9 c d^2 e-a e^3\right )\right )+8 b c d \left (3 a e^2+c d^2\right )-4 a c e \left (5 a e^2+3 c d^2\right )\right )}{3 c \left (b^2-4 a c\right )^2 \sqrt {a+b x+c x^2}}-\frac {2 (d+e x)^{5/2} (-2 a e+x (2 c d-b e)+b d)}{3 \left (b^2-4 a c\right ) \left (a+b x+c x^2\right )^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 430
Rule 435
Rule 732
Rule 752
Rule 832
Rule 857
Rubi steps
\begin {align*} \int \frac {(d+e x)^{7/2}}{\left (a+b x+c x^2\right )^{5/2}} \, dx &=-\frac {2 (d+e x)^{5/2} (b d-2 a e+(2 c d-b e) x)}{3 \left (b^2-4 a c\right ) \left (a+b x+c x^2\right )^{3/2}}-\frac {2 \int \frac {(d+e x)^{3/2} \left (\frac {1}{2} \left (8 c d^2-9 b d e+10 a e^2\right )-\frac {1}{2} e (2 c d-b e) x\right )}{\left (a+b x+c x^2\right )^{3/2}} \, dx}{3 \left (b^2-4 a c\right )}\\ &=-\frac {2 (d+e x)^{5/2} (b d-2 a e+(2 c d-b e) x)}{3 \left (b^2-4 a c\right ) \left (a+b x+c x^2\right )^{3/2}}+\frac {2 \sqrt {d+e x} \left (8 b c d \left (c d^2+3 a e^2\right )-4 a c e \left (3 c d^2+5 a e^2\right )-b^2 \left (9 c d^2 e-a e^3\right )+(2 c d-b e) \left (8 c^2 d^2-b^2 e^2-4 c e (2 b d-3 a e)\right ) x\right )}{3 c \left (b^2-4 a c\right )^2 \sqrt {a+b x+c x^2}}-\frac {4 \int \frac {\frac {1}{4} e \left (b^3 d e^2-4 a c e \left (c d^2+5 a e^2\right )+4 b c d \left (2 c d^2+5 a e^2\right )-b^2 \left (11 c d^2 e-a e^3\right )\right )+\frac {1}{2} e (2 c d-b e) \left (4 c^2 d^2-b^2 e^2-4 c e (b d-2 a e)\right ) x}{\sqrt {d+e x} \sqrt {a+b x+c x^2}} \, dx}{3 c \left (b^2-4 a c\right )^2}\\ &=-\frac {2 (d+e x)^{5/2} (b d-2 a e+(2 c d-b e) x)}{3 \left (b^2-4 a c\right ) \left (a+b x+c x^2\right )^{3/2}}+\frac {2 \sqrt {d+e x} \left (8 b c d \left (c d^2+3 a e^2\right )-4 a c e \left (3 c d^2+5 a e^2\right )-b^2 \left (9 c d^2 e-a e^3\right )+(2 c d-b e) \left (8 c^2 d^2-b^2 e^2-4 c e (2 b d-3 a e)\right ) x\right )}{3 c \left (b^2-4 a c\right )^2 \sqrt {a+b x+c x^2}}-\frac {\left (2 (2 c d-b e) \left (4 c^2 d^2-b^2 e^2-4 c e (b d-2 a e)\right )\right ) \int \frac {\sqrt {d+e x}}{\sqrt {a+b x+c x^2}} \, dx}{3 c \left (b^2-4 a c\right )^2}-\frac {\left (4 \left (-\frac {1}{2} d e (2 c d-b e) \left (4 c^2 d^2-b^2 e^2-4 c e (b d-2 a e)\right )+\frac {1}{4} e^2 \left (b^3 d e^2-4 a c e \left (c d^2+5 a e^2\right )+4 b c d \left (2 c d^2+5 a e^2\right )-b^2 \left (11 c d^2 e-a e^3\right )\right )\right )\right ) \int \frac {1}{\sqrt {d+e x} \sqrt {a+b x+c x^2}} \, dx}{3 c \left (b^2-4 a c\right )^2 e}\\ &=-\frac {2 (d+e x)^{5/2} (b d-2 a e+(2 c d-b e) x)}{3 \left (b^2-4 a c\right ) \left (a+b x+c x^2\right )^{3/2}}+\frac {2 \sqrt {d+e x} \left (8 b c d \left (c d^2+3 a e^2\right )-4 a c e \left (3 c d^2+5 a e^2\right )-b^2 \left (9 c d^2 e-a e^3\right )+(2 c d-b e) \left (8 c^2 d^2-b^2 e^2-4 c e (2 b d-3 a e)\right ) x\right )}{3 c \left (b^2-4 a c\right )^2 \sqrt {a+b x+c x^2}}-\frac {\left (2 \sqrt {2} (2 c d-b e) \left (4 c^2 d^2-b^2 e^2-4 c e (b d-2 a e)\right ) \sqrt {d+e x} \sqrt {-\frac {c \left (a+b x+c x^2\right )}{b^2-4 a c}}\right ) \text {Subst}\left (\int \frac {\sqrt {1+\frac {2 \sqrt {b^2-4 a c} e x^2}{2 c d-b e-\sqrt {b^2-4 a c} e}}}{\sqrt {1-x^2}} \, dx,x,\frac {\sqrt {\frac {b+\sqrt {b^2-4 a c}+2 c x}{\sqrt {b^2-4 a c}}}}{\sqrt {2}}\right )}{3 c^2 \left (b^2-4 a c\right )^{3/2} \sqrt {\frac {c (d+e x)}{2 c d-b e-\sqrt {b^2-4 a c} e}} \sqrt {a+b x+c x^2}}-\frac {\left (8 \sqrt {2} \left (-\frac {1}{2} d e (2 c d-b e) \left (4 c^2 d^2-b^2 e^2-4 c e (b d-2 a e)\right )+\frac {1}{4} e^2 \left (b^3 d e^2-4 a c e \left (c d^2+5 a e^2\right )+4 b c d \left (2 c d^2+5 a e^2\right )-b^2 \left (11 c d^2 e-a e^3\right )\right )\right ) \sqrt {\frac {c (d+e x)}{2 c d-b e-\sqrt {b^2-4 a c} e}} \sqrt {-\frac {c \left (a+b x+c x^2\right )}{b^2-4 a c}}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {1-x^2} \sqrt {1+\frac {2 \sqrt {b^2-4 a c} e x^2}{2 c d-b e-\sqrt {b^2-4 a c} e}}} \, dx,x,\frac {\sqrt {\frac {b+\sqrt {b^2-4 a c}+2 c x}{\sqrt {b^2-4 a c}}}}{\sqrt {2}}\right )}{3 c^2 \left (b^2-4 a c\right )^{3/2} e \sqrt {d+e x} \sqrt {a+b x+c x^2}}\\ &=-\frac {2 (d+e x)^{5/2} (b d-2 a e+(2 c d-b e) x)}{3 \left (b^2-4 a c\right ) \left (a+b x+c x^2\right )^{3/2}}+\frac {2 \sqrt {d+e x} \left (8 b c d \left (c d^2+3 a e^2\right )-4 a c e \left (3 c d^2+5 a e^2\right )-b^2 \left (9 c d^2 e-a e^3\right )+(2 c d-b e) \left (8 c^2 d^2-b^2 e^2-4 c e (2 b d-3 a e)\right ) x\right )}{3 c \left (b^2-4 a c\right )^2 \sqrt {a+b x+c x^2}}-\frac {2 \sqrt {2} (2 c d-b e) \left (4 c^2 d^2-b^2 e^2-4 c e (b d-2 a e)\right ) \sqrt {d+e x} \sqrt {-\frac {c \left (a+b x+c x^2\right )}{b^2-4 a c}} E\left (\sin ^{-1}\left (\frac {\sqrt {\frac {b+\sqrt {b^2-4 a c}+2 c x}{\sqrt {b^2-4 a c}}}}{\sqrt {2}}\right )|-\frac {2 \sqrt {b^2-4 a c} e}{2 c d-\left (b+\sqrt {b^2-4 a c}\right ) e}\right )}{3 c^2 \left (b^2-4 a c\right )^{3/2} \sqrt {\frac {c (d+e x)}{2 c d-\left (b+\sqrt {b^2-4 a c}\right ) e}} \sqrt {a+b x+c x^2}}+\frac {2 \sqrt {2} \left (c d^2-b d e+a e^2\right ) \left (16 c^2 d^2-16 b c d e-b^2 e^2+20 a c e^2\right ) \sqrt {\frac {c (d+e x)}{2 c d-\left (b+\sqrt {b^2-4 a c}\right ) e}} \sqrt {-\frac {c \left (a+b x+c x^2\right )}{b^2-4 a c}} F\left (\sin ^{-1}\left (\frac {\sqrt {\frac {b+\sqrt {b^2-4 a c}+2 c x}{\sqrt {b^2-4 a c}}}}{\sqrt {2}}\right )|-\frac {2 \sqrt {b^2-4 a c} e}{2 c d-\left (b+\sqrt {b^2-4 a c}\right ) e}\right )}{3 c^2 \left (b^2-4 a c\right )^{3/2} \sqrt {d+e x} \sqrt {a+b x+c x^2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains complex when optimal does not.
time = 33.48, size = 5598, normalized size = 8.49 \begin {gather*} \text {Result too large to show} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(19257\) vs.
\(2(595)=1190\).
time = 0.85, size = 19258, normalized size = 29.22
method | result | size |
elliptic | \(\text {Expression too large to display}\) | \(1502\) |
default | \(\text {Expression too large to display}\) | \(19258\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [C] Result contains higher order function than in optimal. Order 9 vs. order
4.
time = 0.80, size = 1756, normalized size = 2.66 \begin {gather*} \text {Too large to display} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {{\left (d+e\,x\right )}^{7/2}}{{\left (c\,x^2+b\,x+a\right )}^{5/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________